public class MultiThreads {
    public static void main(String[] args) {
        new Thread(new Runnable() {
            public void run() {
                for (int i=1;i<=1000;i++) {
                    try {
                        String json="{\"insurerUuid\": \"020201231NewTest1_"+i+"\"}";
                        OkHttpUtil.run("http://172.20.8.173:7804/api/{appKey}/supplementaryMedicalCheck/2.2.0?api_key=00000000000",json);
                        System.out.println("第一个线程调用第"+i+"次");
                    } catch (Exception e) {
                        e.printStackTrace();
                    }
                }
            }
        }).start();

        new Thread(new Runnable() {
            public void run() {
                for (int i=1;i<=1000;i++) {
                    try {
                        String json="{\"insurerUuid\": \"020201231NewTest2_"+i+"\"}";
                        OkHttpUtil.run("http://172.20.8.173:7814/api/{appKey}/supplementaryMedicalCheck/2.0.0?api_key=00000000000",json);
                        System.out.println("第二个线程调用第"+i+"次");
                    } catch (Exception e) {
                        e.printStackTrace();
                    }
                }
            }
        }).start();
    }
}